home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / Samples / Debugger / Java Debugger / DebuggeeProcess.java < prev    next >
Encoding:
Java Source  |  1998-03-05  |  475 b   |  29 lines

  1. //
  2. // DebuggeeProcess.java
  3. //
  4. // (C) Copyright 1998 Microsoft Corporation, All rights reserved.
  5. //
  6.  
  7. import com.ms.com.*;
  8.  
  9. public class DebuggeeProcess
  10. {
  11.     protected int m_nMainThreadHandle;
  12.     protected int m_nProcessID;
  13.  
  14.     public native void CreateSuspendedProcess(String sCommandLine);
  15.  
  16.     public int GetProcessID()
  17.     {
  18.         return(m_nProcessID);
  19.     }
  20.  
  21.     public native void ResumeProcess();
  22.  
  23.     static
  24.     {
  25.         System.loadLibrary("JDbgHlpr");
  26.     }
  27. }
  28.  
  29.